package com.lagou.edu.dao;

import com.lagou.edu.pojo.Token;
import com.lagou.edu.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface TokenRepository extends JpaRepository<Token, Long> {
    Token findByEmail(String email);

    Token findByToken(String token);
}
